body{
    padding-top: 90px;
}

//  搜索栏
.search {
    height: 45px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3px;
    .cancel_search{
        // padding: 5px;
        color: #007aff; 
       flex: 1;
       text-align: center;
    }
    .search1{
        padding-top: 8px;
        text-align: center;
        flex:12;
        .input{
            height:30px;
        }
    }
    .search_btn{
        flex: 1;
        text-align: center
    }
}

// 标题栏
.sort-lan {
    height: 45px;
    width: 100%;
    position: fixed;
    top: 45px;
    left: 0;
    display: flex;
    // background-color: aquamarine;
    justify-content: space-around;
    a {
        flex: 1;
        text-align: center;
        line-height: 45px;
    }
}

// 主体
.pyg_view {
    padding: 0 10px; // 因为上拉刷新结构中用了绝对定位
    position: relative;
    overflow: hidden; 
    ul {
        li {
            background-color: #fff;
           margin: 5px 0;
            a {
                display: flex;
                .tems-left {
                    flex: 1;
                    img {
                        width: 70%;
                        margin: 0 auto;
                    }
                }
                .tems-right {
                    flex: 2; //防止文字省略时 flex布局当宽度超出父元素的宽度之后 会发生挤压
                    overflow: hidden;
                    position: relative;
                    .goods-name {
                        padding-top: 15px;
                        font-size: 20px;
                        color: #666;
                    }
                    .goods-price {
                        color: #ff3737;
                        // position: absolute;
                     padding-top:45px;
                    }
                    &::before {
                        content: '\e583';
                        right: 0;
                        font-family: Muiicons;
                        font-size: 30px;
                        line-height: 1;
                        position: absolute;
                        top: 50%;
                        display: inline-block;
                        -webkit-transform: translateY(-50%);
                        transform: translateY(-50%);
                        text-decoration: none;
                        color: #bbb;
                        -webkit-font-smoothing: antialiased;
                    }
                }
            }
        }
    }
}